import { http } from "../../utils/http.js"
function addOrderBatch(data){
	return http({
		url:"/api/leju/front/order/addOrderBatch",
		method:'post',
		data
	})
}

function orderlist(data){
	return http({
		url:"/api/leju/front/order/list",
		method:'get',
		data
	})
}

function delOrderPre(data){
	return http({
		url:"/api/leju/front/order/delOrderPre",
		method:'get',
		data
	})
}

function payConfirm(data){
	return http({
		url:"/api/leju/front/order/payConfirm",
		method:'post',
		data
	})
}

function receive(data){
	return http({
		url:"/api/leju/front/order/allDone",
		method:'get',
		data
	})
}

function applyBack(data){
	return http({
		url:"/api/leju/front/order/backOrder",
		method:'post',
		data
	})
}


function orderBackList(data){
	return http({
		url:"/api/leju/front/order/orderBackList",
		method:'get',
		data
	})
}

export {
	addOrderBatch,orderlist,delOrderPre,payConfirm,receive,applyBack,orderBackList
} 